<template>
    <div class="child">
        <h3>儿子组件:哥哥</h3>
        <Child></Child>
    </div>
</template>

<script setup lang="ts" name="Parent">
import Child from "./Child2.vue";
</script>

<style scoped>
.child {
    border: 1px solid #ccc;
    padding: 10px;
    margin: 10px 0;
    background-color: #f0f0f0;
}
</style>
